telTable = ['130','131','132','133','134','135','136','137','138','139','180','176','177']
def isPhoneNumber(n):
    if len(n) != 11:
        return False
    if n[0:3] not in telTable:
        return False
    for i in range(len(n)):
        if not n[i].isdecimal():
            return False
    return True
def phoneNumberConvert (n):
    if isPhoneNumber(n):
        return n[0:3]+'-'+n[3:7]+'-'+n[7:11]


message = '我明天就会回去，我的电话是13800138000，你可以打这个电话找我，我的QQ号是14521563320,如果这都找不到我的话，可以找我朋友的：1390200138000'
for i in range(len(message)):
    chunck = message[i:i+11]
    if isPhoneNumber(chunck):
        print('找到电话号码',chunck)
print('找完了')
